package com.ruoyi.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.generator.domain.WBackupRecord;
import org.apache.ibatis.annotations.Select;


/**
 * 数据备份记录Mapper接口
 * 
 * @author lynn
 * @date 2023-08-01
 */
public interface WBackupRecordMapper extends BaseMapper<WBackupRecord>
{

    /**
    * 清空表
    */
    @Select("TRUNCATE TABLE ${table};")
    void clearTable(String table);
}
